package pl.praca.magisterska.web;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import pl.praca.magisterska.model.Person;

@Controller
public class WelcomeController {

	private static Logger log = Logger.getLogger(OrderController.class);

	@RequestMapping(value = "/welcome", method = RequestMethod.GET)
	public ModelAndView showContact() {
		Person c = new Person();
		return new ModelAndView("welcomeView","contact", c);
	}
}
